package com.ybkj.daijia.server.event.model;

import com.ybkj.daijia.server.model.Announcement;
import com.ybkj.daijia.server.model.Driver;
import java.util.List;
import org.springframework.context.ApplicationEvent;

public class AnnouncementEvent extends ApplicationEvent {

    private static final long serialVersionUID = -2818065958458908091L;

    private List<Driver> drivers;

    public AnnouncementEvent(Announcement source, List<Driver> drivers) {
        super(source);
        this.drivers = drivers;
    }

    public List<Driver> getDrivers() {
        return drivers;
    }

    public void setDrivers(List<Driver> drivers) {
        this.drivers = drivers;
    }

}
